<template>
    <div class="bottombar">
      <div class="content">
        <div class="contItem" v-for="(item,index) in contList" :key="index">
            <img :src="item.url" alt="">
            <p>{{ item.name }}</p>
        </div>
      </div>
      <div class="tuijian">
        <div class="title">
          <h3>推荐节目</h3>
          <p>更多>></p>
        </div>
        <div class="cont">
          <div class="contItem" v-for="(item,index) in 30" :key="index">
            <div class="left">
              <img src="../../assets/milaoshu.jpg" alt="">
              <div class="song">
                <p>我想多你说关于爱情的故事</p>
                <p>过耳难忘|最热音乐推荐</p>
              </div>
            </div>
            <div class="right">
              <el-button size="mini">音乐播客</el-button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </template>
  <script>
  export default {
    data() {
        return {
            contList:[
              {
                id:1,
                url:require('../../assets/qinggan.png'),
                name:"情感"
              },
              {
                id:2,
                url:require('../../assets/yinyueboke.png'),
                name:"音乐播客"
              },
              {
                id:3,
                url:require('../../assets/youshengshu.png'),
                name:"有声书"
              },
              {
                id:4,
                url:require('../../assets/tuokouxiu.png'),
                name:"脱口秀"
              },
              {
                id:5,
                url:require('../../assets/chuangzuofanchang.png'),
                name:"创作翻唱"
              },
              {
                id:6,
                url:require('../../assets/dianyin.png'),
                name:"电音"
              },
              {
                id:7,
                url:require('../../assets/zhishi.png'),
                name:"知识"
              },
              {
                id:8,
                url:require('../../assets/erciyuan.png'),
                name:"二次元"
              },
              {
                id:9,
                url:require('../../assets/mingxingzhuanqu.png'),
                name:"明星专区"
              },
              {
                id:10,
                url:require('../../assets/shenghuo.png'),
                name:"生活"
              },
              {
                id:11,
                url:require('../../assets/qinzi.png'),
                name:"亲子"
              },
              {
                id:12,
                url:require('../../assets/xinwenzixun.png'),
                name:"新闻资讯"
              },
              {
                id:13,
                url:require('../../assets/guangboju.png'),
                name:"广播剧"
              },
              {
                id:14,
                url:require('../../assets/gushi.png'),
                name:"故事"
              },
              {
                id:15,
                url:require('../../assets/renwenlishi.png'),
                name:"人文历史"
              },
              {
                id:16,
                url:require('../../assets/yule.png'),
                name:"娱乐"
              },
              {
                id:17,
                url:require('../../assets/xiangshengquyi.png'),
                name:"相声曲艺"
              },
              {
                id:18,
                url:require('../../assets/qita.png'),
                name:"其他"
              },
              {
                id:19,
                url:require('../../assets/wenxuechuban.png'),
                name:"文学出版"
              },
              {
                id:20,
                url:require('../../assets/changjianwenti.png'),
                name:"常见问题"
              },
              {
                id:21,
                url:require('../../assets/zhubo.png'),
                name:"我要做主播"
              }
            ],
        };
    },
  }
  </script>
  <style lang="scss" scoped>
  .tuijian::-webkit-scrollbar {
    width: 0;
  }
  .tuijian{
    width:calc(100vw - 230px);
    height:calc(100vh - 335px);
    overflow-y:auto;
    .title{
      display:flex;
      align-items:center;
      justify-content:space-between;
      border-bottom:1px solid #ff0000;
    }
  
    .cont{
      .contItem{
          display:flex;
          align-items:center;
          justify-content:space-between;
          border-bottom:1px solid #f0f0f0;
          .left{
            display:flex;
            align-items:center;
            img{
              width:30px;
              height:30px;
            }
            .song{
              margin-left:10px;
              line-height:20px;
              p{
                font-size:12px;
              }
              p:nth-child(2){
                margin-top:-10px;
              }
            }
          }
          .right{
            img{
              margin:0 10px;
              width:20px;
              height:20px;
            }
          }
        }
    }
  }
   .content{
    display:flex;
    flex-wrap: wrap;
    align-items:center;
    .contItem{
      width:10%;
      display:flex;
      align-items:center;
      flex-direction:column;
      img{
        width:30px;
        height:30px;
      }
      p{
        font-size:14px;
        color:#333333;
      }
    }
   }
  </style>
  